package com.accenture.adf.newcodington.module10.sample;

/**
 * Topic: Inheritance
 * 
 * Instructions:
 * 
 * 	The Car class is to be created and updated in the participant folder by the 
 * 	participant during Try It tasks for the module.
 * 	This class is a solution for the tasks.
 *
 */
public class Car extends Vehicle { 

	//final variable to store color of the Car
	final String color = "RED";
	
	// overriding the drive method
	public void drive()
	{
		System.out.println("Driving Car");
	}
}
